package com.platform.modules.wallet.dao;

import com.platform.common.web.dao.BaseDao;
import com.platform.modules.wallet.domain.WalletAccount;
import org.springframework.stereotype.Repository;

import java.util.Date;

@Repository
public interface WalletAccountDao extends BaseDao<WalletAccount> {

    Integer queryYesterDaySum(Long userId, String createDate);

    Integer queryTodaySum(Long userId, String createDate);

    Integer querySumAll(String today);

    Integer clearRecord(String beforeToday);
}
